package com.ct.musicserver.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ct.musicserver.dao.dataobject.UserDO;
import jakarta.validation.constraints.NotBlank;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper extends BaseMapper<UserDO> {
    @Select("select  * from user where username = #{username}")
    UserDO selectByName(@Param("username") String username);
}
